class global_var:
    '''需要定义全局变量的放在这里，最好定义一个初始值'''
    loading_address = 'C:/Users/adminTKJ/Desktop/MainProject/RLIR_sumup/'
    saving_address = 'C:/Users/adminTKJ/Desktop/MainProject/RLIR_sumup/data/'
    initial_position = '标准正位'


# 对于每个全局变量，都需要定义get_value和set_value接口
def set_saving_name(address):
    global_var.saving_address = address


def get_saving_name():
    return global_var.saving_address


# 对于每个全局变量，都需要定义get_value和set_value接口
def set_loading_name(address):
    global_var.set_loading_address = address


def get_loading_name():
    return global_var.loading_address
